a = "abc"
print(len(a))
print("dasdad".isalpha())
print("1a23".isdecimal())

print("avb".startswith("b"))
print("avb".endswith("b"))

print("abcdef".find("c"))
print("abcdef".rfind("c"))
print("abcdef".replace("c","V",1))

print("______________________切割")
print("张三|里斯光|刘魁".split("|"))

ss = "0123456789"
print(ss[4:7])

print("_________去空白")
print("     abc     ".strip())
